import { defineNuxtModule, createResolver, addComponent } from '@nuxt/kit'

export default defineNuxtModule({
    setup(options, nuxt) {
        const { resolve } = createResolver(import.meta.url)
        addComponent({
            name: 'AppSvg',
            global: true,
            filePath: resolve('./index.vue')
        })
    }
})